<!--
 @Description 标题组件
 @author hemengxia
 @date 2023/2/23
-->

<template>
  <div
    :style="{ 'margin-top': top,
              paddingLeft: spacing,paddingRight:spacing}"
  >
    <cell-title
      :title="moduleName"
      :option="option"
      :hide-desc="isMore ==='2'"
      :style="{

        'background-color': option.backgroundColor,
        borderBottomLeftRadius: bottomLeftRadius,
        borderBottomRightRadius: bottomRightRadius,
        borderTopLeftRadius:topLeftRadius,
        borderTopRightRadius:topRightRadius
      }"
    />
  </div>
</template>
<script>
import mixins from '../mixins'
import CellTitle from '@/components/CustomPage/apps/widget/characters/cellTitle'

export default {
  name: 'TitleComp',
  components: {
    CellTitle
  },
  mixins: [mixins],
  props: {
    option: {
      type: Object,
      default: {}
    },
    isInitData: {
      type: Boolean,
      default: false
    }
  },
  computed: {

  },
  created() {
  }
}
</script>

<style lang='scss'>
@import "@/styles/utility/rem.scss";

.title-comp {
}
</style>
